#ifndef IGRAPH_H
#define IGRAPH_H

#include <QtCore>

namespace sk {

class ICGraph {
public:
    virtual void init(int verticesCount) = 0;
    virtual void addEdge(int from, int to) = 0;

    virtual const QList<int>& getAdjanancies(int v) = 0;

    virtual int getEdgesCount() = 0;
    virtual int getVerticesCount() = 0;
};

}

#endif // IGRAPH_H
